package chenshuaiwen.service;

import chenshuaiwen.domain.dto.UserDto;
import chenshuaiwen.domain.entity.User;
import chenshuaiwen.domain.vo.Result;

/**
 * 业务层接口-用户
 *
 * @author 陈帅闻
 * @since 2025/5/25 21:04
 */
public interface IUserService extends IBaseService<User,UserDto>{

    boolean deptInUse(int deptId);

    boolean roleInUse(int roleId);

    Result toggle(int id);

}
